package main

import (
	"fmt"
	"reflect"
)

func main() {
	s := "moody"

	z := func(i int32) {
		fmt.Println("1111", i)
	}

	st := reflect.TypeOf(s)
	fmt.Println(st.Name())

	zt := reflect.TypeOf(z)
	funcValue := reflect.ValueOf(z)
	ztd := funcValue.Type()
	fmt.Println(zt)
	fmt.Println(zt == ztd)

	funcValue.Call([]reflect.Value{reflect.ValueOf(int32(123))})

	//v := zt.Method(0)
	//fmt.Println(v)
}
